<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class modeloRegistro extends ModeloBase{
    
    function getUsuario($usuario, $contrasena){
        $sql = "SELECT *
                FROM PERSONA 
                WHERE PERSONA.USUARIO = "+ $usuario +
                "AND PERSONA.CONTRASEÑA =" +$contrasena;
        return $this-> query($sql);
    }
}
?>
